<?php
/**
 * Intreface DAO
 *
 * @author: http://phpdao.com
 * @date: 2012-11-21 10:54
 */
interface BibleBookNamesDAO{

	/**
	 * Get Domain object by primry key
	 *
	 * @param String $id primary key
	 * @Return BibleBookNames 
	 */
	public function load($id);

	/**
	 * Get all records from table
	 */
	public function queryAll();
	
	/**
	 * Get all records from table ordered by field
	 * @Param $orderColumn column name
	 */
	public function queryAllOrderBy($orderColumn);
	
	/**
 	 * Delete record from table
 	 * @param bibleBookName primary key
 	 */
	public function delete($id);
	
	/**
 	 * Insert record to table
 	 *
 	 * @param BibleBookNames bibleBookName
 	 */
	public function insert($bibleBookName);
	
	/**
 	 * Update record in table
 	 *
 	 * @param BibleBookNames bibleBookName
 	 */
	public function update($bibleBookName);	

	/**
	 * Delete all rows
	 */
	public function clean();

	public function queryByLanguage($value);

	public function queryByBookNo($value);

	public function queryByBookType($value);

	public function queryByLongName($value);

	public function queryByShortName($value);

	public function queryByMiddleName($value);

	public function queryByChapterSize($value);

	public function queryByVerseSize($value);


	public function deleteByLanguage($value);

	public function deleteByBookNo($value);

	public function deleteByBookType($value);

	public function deleteByLongName($value);

	public function deleteByShortName($value);

	public function deleteByMiddleName($value);

	public function deleteByChapterSize($value);

	public function deleteByVerseSize($value);

public function getAllBooksForSelection($language);
}
?>